using System.Collections.Generic;
using CommonLibrary.Model;

namespace CommonLibrary.BLL
{
    public class Linkman
    {
        public static bool Exsits(int LinkmanID)
        {
            CommonLibrary.DAL.Linkman dal = new CommonLibrary.DAL.Linkman();
            return dal.Exsits(LinkmanID);
        }
        public static bool Insert(LinkmanInfo Linkman)
        {
            CommonLibrary.DAL.Linkman dal = new CommonLibrary.DAL.Linkman();
            return dal.Insert(Linkman);
        }
        public static bool Update(LinkmanInfo Linkman)
        {
            CommonLibrary.DAL.Linkman dal = new CommonLibrary.DAL.Linkman();
            return dal.Update(Linkman);
        }
        public static bool Delete(int LinkmanID)
        {
            CommonLibrary.DAL.Linkman dal = new CommonLibrary.DAL.Linkman();
            return dal.Delete(LinkmanID);
        }
        public static LinkmanInfo GetLinkman(int LinkmanID)
        {
            CommonLibrary.DAL.Linkman dal = new CommonLibrary.DAL.Linkman();
            return dal.GetLinkman(LinkmanID);
        }
        public static List<LinkmanInfo> GetList(string StrWhere)
        {
            CommonLibrary.DAL.Linkman dal = new CommonLibrary.DAL.Linkman();
            return dal.GetList(StrWhere);
        }

    }
}